Repository navigation
[6.x] Work search results out once when paginating - #15889
Merged
jasonvarga merged 1 commit intoNov 13, 2026
Merged
Conversation
…n combining wheres
This was referenced Nov 22, 2026
joshdaugherty
added a commit
to UAMS-Web/aether-search
that referenced
this pull request
Nov 22, 2026
Bumps the composer-minor-and-patch group with 4 updates: [statamic/cms](https://github.com/statamic/cms), [pestphp/pest](https://github.com/pestphp/pest), [rector/rector](https://github.com/rectorphp/rector) and [uams-web/patches-pest-plugin-mutate](https://github.com/UAMS-Web/patches-pest-plugin-mutate). Updates `statamic/cms` from 6.41.0 to 6.42.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/statamic/cms/releases">statamic/cms's releases</a>.</em></p> <blockquote> <h2>v6.42.0</h2> <h2>What's new</h2> <ul> <li>Add Full mode to the Assets fieldtype <a href="https://redirect.github.com/statamic/cms/issues/15873">#15873</a> by <a href="https://github.com/jackmcdade"><code>@jackmcdade</code></a></li> </ul> <h2>What's fixed</h2> <ul> <li>Warm paginated pages without holding up the rest of static:warm <a href="https://redirect.github.com/statamic/cms/issues/15852">#15852</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Don't make the directory before every write to a Flysystem disk <a href="https://redirect.github.com/statamic/cms/issues/15855">#15855</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Flush the dedicated static_cache store on invalidation <a href="https://redirect.github.com/statamic/cms/issues/15861">#15861</a> by <a href="https://github.com/edalzell"><code>@edalzell</code></a></li> <li>Fix <code>collection:next</code> and <code>collection:previous</code> tags with dated collection entries <a href="https://redirect.github.com/statamic/cms/issues/15864">#15864</a> by <a href="https://github.com/duncanmcclean"><code>@duncanmcclean</code></a></li> <li>Reset memoized Stache state when an Octane request arrives <a href="https://redirect.github.com/statamic/cms/issues/15858">#15858</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Only apply taxonomy wheres to an entry query once <a href="https://redirect.github.com/statamic/cms/issues/15867">#15867</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Fix chained whereTaxonomyNotIn only excluding entries in all of them <a href="https://redirect.github.com/statamic/cms/issues/15868">#15868</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Only select one row in Eloquent query builder first() <a href="https://redirect.github.com/statamic/cms/issues/15869">#15869</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Don't filter Terms fieldtype values by collection usage <a href="https://redirect.github.com/statamic/cms/issues/15870">#15870</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Make each term once when building term indexes <a href="https://redirect.github.com/statamic/cms/issues/15871">#15871</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Build term associations once when warming the Stache <a href="https://redirect.github.com/statamic/cms/issues/15872">#15872</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Fix files outside the root being treated as within it <a href="https://redirect.github.com/statamic/cms/issues/15886">#15886</a> by <a href="https://github.com/jasonvarga"><code>@jasonvarga</code></a></li> <li>Skip Antlers for site values that are only config <a href="https://redirect.github.com/statamic/cms/issues/15887">#15887</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Work search results out once when paginating <a href="https://redirect.github.com/statamic/cms/issues/15889">#15889</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Look an entries field's entries up once in listings <a href="https://redirect.github.com/statamic/cms/issues/15890">#15890</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Work out what an assets field preloads about its container once <a href="https://redirect.github.com/statamic/cms/issues/15893">#15893</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Bring back month/year navigation in the date picker <a href="https://redirect.github.com/statamic/cms/issues/15892">#15892</a> by <a href="https://github.com/duncanmcclean"><code>@duncanmcclean</code></a></li> <li>Lowercase what an equals where is looking for once <a href="https://redirect.github.com/statamic/cms/issues/15894">#15894</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Work the pattern for a like where out once <a href="https://redirect.github.com/statamic/cms/issues/15895">#15895</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Prepare Stache sort values once instead of on every comparison <a href="https://redirect.github.com/statamic/cms/issues/15877">#15877</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Write each index once when a structured collection is reordered <a href="https://redirect.github.com/statamic/cms/issues/15888">#15888</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Leave term associations alone when a saved entry's terms haven't changed <a href="https://redirect.github.com/statamic/cms/issues/15882">#15882</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Only look through the taxonomies a term query's ids name <a href="https://redirect.github.com/statamic/cms/issues/15878">#15878</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Fix duplicate ids being lost when the Stache is cleared and warmed in one process <a href="https://redirect.github.com/statamic/cms/issues/15883">#15883</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Skip empty-list lookups in the Entries fieldtype and Stache whereIn <a href="https://redirect.github.com/statamic/cms/issues/15879">#15879</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>German translations <a href="https://redirect.github.com/statamic/cms/issues/15875">#15875</a> by <a href="https://github.com/helloDanuk"><code>@helloDanuk</code></a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/statamic/cms/blob/6.x/CHANGELOG.md">statamic/cms's changelog</a>.</em></p> <blockquote> <h2>6.42.0 (2026-11-13)</h2> <h3>What's new</h3> <ul> <li>Add Full mode to the Assets fieldtype <a href="https://redirect.github.com/statamic/cms/issues/15873">#15873</a> by <a href="https://github.com/jackmcdade"><code>@jackmcdade</code></a></li> </ul> <h3>What's fixed</h3> <ul> <li>Warm paginated pages without holding up the rest of static:warm <a href="https://redirect.github.com/statamic/cms/issues/15852">#15852</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Don't make the directory before every write to a Flysystem disk <a href="https://redirect.github.com/statamic/cms/issues/15855">#15855</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Flush the dedicated static_cache store on invalidation <a href="https://redirect.github.com/statamic/cms/issues/15861">#15861</a> by <a href="https://github.com/edalzell"><code>@edalzell</code></a></li> <li>Fix <code>collection:next</code> and <code>collection:previous</code> tags with dated collection entries <a href="https://redirect.github.com/statamic/cms/issues/15864">#15864</a> by <a href="https://github.com/duncanmcclean"><code>@duncanmcclean</code></a></li> <li>Reset memoized Stache state when an Octane request arrives <a href="https://redirect.github.com/statamic/cms/issues/15858">#15858</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Only apply taxonomy wheres to an entry query once <a href="https://redirect.github.com/statamic/cms/issues/15867">#15867</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Fix chained whereTaxonomyNotIn only excluding entries in all of them <a href="https://redirect.github.com/statamic/cms/issues/15868">#15868</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Only select one row in Eloquent query builder first() <a href="https://redirect.github.com/statamic/cms/issues/15869">#15869</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Don't filter Terms fieldtype values by collection usage <a href="https://redirect.github.com/statamic/cms/issues/15870">#15870</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Make each term once when building term indexes <a href="https://redirect.github.com/statamic/cms/issues/15871">#15871</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Build term associations once when warming the Stache <a href="https://redirect.github.com/statamic/cms/issues/15872">#15872</a> by <a href="https://github.com/ryanmitchell"><code>@ryanmitchell</code></a></li> <li>Fix files outside the root being treated as within it <a href="https://redirect.github.com/statamic/cms/issues/15886">#15886</a> by <a href="https://github.com/jasonvarga"><code>@jasonvarga</code></a></li> <li>Skip Antlers for site values that are only config <a href="https://redirect.github.com/statamic/cms/issues/15887">#15887</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Work search results out once when paginating <a href="https://redirect.github.com/statamic/cms/issues/15889">#15889</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Look an entries field's entries up once in listings <a href="https://redirect.github.com/statamic/cms/issues/15890">#15890</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Work out what an assets field preloads about its container once <a href="https://redirect.github.com/statamic/cms/issues/15893">#15893</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Bring back month/year navigation in the date picker <a href="https://redirect.github.com/statamic/cms/issues/15892">#15892</a> by <a href="https://github.com/duncanmcclean"><code>@duncanmcclean</code></a></li> <li>Lowercase what an equals where is looking for once <a href="https://redirect.github.com/statamic/cms/issues/15894">#15894</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Work the pattern for a like where out once <a href="https://redirect.github.com/statamic/cms/issues/15895">#15895</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Prepare Stache sort values once instead of on every comparison <a href="https://redirect.github.com/statamic/cms/issues/15877">#15877</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Write each index once when a structured collection is reordered <a href="https://redirect.github.com/statamic/cms/issues/15888">#15888</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Leave term associations alone when a saved entry's terms haven't changed <a href="https://redirect.github.com/statamic/cms/issues/15882">#15882</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Only look through the taxonomies a term query's ids name <a href="https://redirect.github.com/statamic/cms/issues/15878">#15878</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Fix duplicate ids being lost when the Stache is cleared and warmed in one process <a href="https://redirect.github.com/statamic/cms/issues/15883">#15883</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>Skip empty-list lookups in the Entries fieldtype and Stache whereIn <a href="https://redirect.github.com/statamic/cms/issues/15879">#15879</a> by <a href="https://github.com/DanielDarrenJones"><code>@DanielDarrenJones</code></a></li> <li>German translations <a href="https://redirect.github.com/statamic/cms/issues/15875">#15875</a> by <a href="https://github.com/helloDanuk"><code>@helloDanuk</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/statamic/cms/commit/3b28f8ceda4e0912ffe51dc7d8d877f0184f23bc"><code>3b28f8c</code></a> Build assets for v6.42.0</li> <li><a href="https://github.com/statamic/cms/commit/6da51d8e7850f8eba4f6f4bae012e19c610a1744"><code>6da51d8</code></a> [6.x] 6.42.0 (<a href="https://redirect.github.com/statamic/cms/issues/15896">#15896</a>)</li> <li><a href="https://github.com/statamic/cms/commit/ab4f2354d74abc2d345e31823263f20e584b8c87"><code>ab4f235</code></a> [6.x] Skip empty-list lookups in the Entries fieldtype and Stache whereIn" (#...</li> <li><a href="https://github.com/statamic/cms/commit/c1728c3f91cca25f0510ac7f0c84f4d4987829ec"><code>c1728c3</code></a> [6.x] Fix duplicate ids being lost when the Stache is cleared and warmed in o...</li> <li><a href="https://github.com/statamic/cms/commit/47a2517fdad9017dd3051858ab1a45ec353ff42a"><code>47a2517</code></a> [6.x] Only look through the taxonomies a term query's ids name (<a href="https://redirect.github.com/statamic/cms/issues/15878">#15878</a>)</li> <li><a href="https://github.com/statamic/cms/commit/1802ab5948eb09091a9f88562f7673048a7ba145"><code>1802ab5</code></a> [6.x] Leave term associations alone when a saved entry's terms haven't change...</li> <li><a href="https://github.com/statamic/cms/commit/575bd33e767bf4b23b5dc37fa183cceace97a5f0"><code>575bd33</code></a> [6.x] Write each index once when a structured collection is reordered (<a href="https://redirect.github.com/statamic/cms/issues/15888">#15888</a>)</li> <li><a href="https://github.com/statamic/cms/commit/885c730163af8d2f9ea8acf58064226f971eabd9"><code>885c730</code></a> [6.x] Prepare Stache sort values once instead of on every comparison (<a href="https://redirect.github.com/statamic/cms/issues/15877">#15877</a>)</li> <li><a href="https://github.com/statamic/cms/commit/f051cbc3302ad8efdc906022ca9fb4f395743d21"><code>f051cbc</code></a> [6.x] Work the pattern for a like where out once (<a href="https://redirect.github.com/statamic/cms/issues/15895">#15895</a>)</li> <li><a href="https://github.com/statamic/cms/commit/eee8e34b029c81ed47073629efa5993490f78bb8"><code>eee8e34</code></a> [6.x] Lowercase what an equals where is looking for once (<a href="https://redirect.github.com/statamic/cms/issues/15894">#15894</a>)</li> <li>Additional commits viewable in <a href="https://github.com/statamic/cms/compare/v6.41.0...v6.42.0">compare view</a></li> </ul> </details> <br /> Updates `pestphp/pest` from 5.3.5 to 5.3.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pestphp/pest/releases">pestphp/pest's releases</a>.</em></p> <blockquote> <h2>v5.3.7</h2> <h2>What's Changed</h2> <ul> <li>fix(tia): answer the stream_lock support probe by <a href="https://github.com/jaspertey"><code>@jaspertey</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2029">pestphp/pest#2029</a></li> <li>fix(tia): parse SFC entries when building the JS module graph by <a href="https://github.com/atymic"><code>@atymic</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1919">pestphp/pest#1919</a></li> <li>release: 5.3.7 by <a href="https://github.com/MrPunyapal"><code>@MrPunyapal</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2037">pestphp/pest#2037</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jaspertey"><code>@jaspertey</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/2029">pestphp/pest#2029</a></li> <li><a href="https://github.com/atymic"><code>@atymic</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/1919">pestphp/pest#1919</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pestphp/pest/compare/v5.3.6...v5.3.7">https://github.com/pestphp/pest/compare/v5.3.6...v5.3.7</a></p> <h2>v5.3.6</h2> <h2>What's Changed</h2> <ul> <li>fix(tia): skip locally() when the process is on CI by <a href="https://github.com/tiagoabsantos"><code>@tiagoabsantos</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1999">pestphp/pest#1999</a></li> <li>fix(tia): keep a failure when the same test is also risky by <a href="https://github.com/lazerg"><code>@lazerg</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2014">pestphp/pest#2014</a></li> <li>fix(tia): keep pcov.enabled when the pcov restarter re-runs pest by <a href="https://github.com/lazerg"><code>@lazerg</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2015">pestphp/pest#2015</a></li> <li>fix(tia): drop the results of every branch on environment drift by <a href="https://github.com/lazerg"><code>@lazerg</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2011">pestphp/pest#2011</a></li> <li>fix(tia): drop cached coverage of tests that no longer exist by <a href="https://github.com/tiagoabsantos"><code>@tiagoabsantos</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2000">pestphp/pest#2000</a></li> <li>fix(tia): write the merged coverage report in chunks by <a href="https://github.com/tiagoabsantos"><code>@tiagoabsantos</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1997">pestphp/pest#1997</a></li> <li>fix(tia): drop the coverage cache on structural drift by <a href="https://github.com/tiagoabsantos"><code>@tiagoabsantos</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1996">pestphp/pest#1996</a></li> <li>fix(tia): match test files under wildcard suite directories by <a href="https://github.com/mozex"><code>@mozex</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1980">pestphp/pest#1980</a></li> <li>fix: let extensions register event subscribers in --parallel mode by <a href="https://github.com/ChrisAbner"><code>@ChrisAbner</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2002">pestphp/pest#2002</a></li> <li>fix: accept <code>--no-results</code> and the <code>--do-not-*</code> test run history options with <code>--parallel</code> by <a href="https://github.com/adilKhan72"><code>@adilKhan72</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1982">pestphp/pest#1982</a></li> <li>Add default failure messages to the remaining string expectations by <a href="https://github.com/VincentBorgers"><code>@VincentBorgers</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1948">pestphp/pest#1948</a></li> <li>test: cover parallel group-filtered runs whose workers end on fully filtered files by <a href="https://github.com/User7142"><code>@User7142</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1985">pestphp/pest#1985</a></li> <li>fix: support brianium/paratest 7.28 grouped test files by <a href="https://github.com/lazerg"><code>@lazerg</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2025">pestphp/pest#2025</a></li> <li>fix(tia): list the whole suite with --list-tests by <a href="https://github.com/lazerg"><code>@lazerg</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1973">pestphp/pest#1973</a></li> <li>fix(sharding): strip <code>--runner</code> from the <code>--list-tests</code> sub-process by <a href="https://github.com/apael"><code>@apael</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2004">pestphp/pest#2004</a></li> <li>fix(tia): detect renames in both porcelain status columns by <a href="https://github.com/cyrodjohn"><code>@cyrodjohn</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2017">pestphp/pest#2017</a></li> <li>fix(tia): report git errors instead of a missing dependency by <a href="https://github.com/MohannadElemary"><code>@MohannadElemary</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1987">pestphp/pest#1987</a></li> <li>Fix TIA fingerprinting inside linked git worktrees by <a href="https://github.com/ademola-emmanuel"><code>@ademola-emmanuel</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1813">pestphp/pest#1813</a></li> <li>fix(tia): find GitLab baselines beyond the last 100 jobs by <a href="https://github.com/calebdw"><code>@calebdw</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1912">pestphp/pest#1912</a></li> <li>fix: run <code>pest()->afterAll()</code> hooks by flushing statics after <code>tearDownAfterClass()</code> by <a href="https://github.com/sonalidudhia"><code>@sonalidudhia</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1753">pestphp/pest#1753</a></li> <li>fix: check each target in negated toUse by <a href="https://github.com/tiagoabsantos"><code>@tiagoabsantos</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1933">pestphp/pest#1933</a></li> <li>Support --profile when running tests in parallel by <a href="https://github.com/dbpolito"><code>@dbpolito</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1795">pestphp/pest#1795</a></li> <li>fix(tia): memoize the merged baseline so replay stays linear by <a href="https://github.com/jlcara"><code>@jlcara</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1974">pestphp/pest#1974</a></li> <li>fix(tia): link files a test reads as text, not only files it executes by <a href="https://github.com/jbraband"><code>@jbraband</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2006">pestphp/pest#2006</a></li> <li>perf: cache is_dir lookups in TestRepository::make() by <a href="https://github.com/sylouuu"><code>@sylouuu</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/2027">pestphp/pest#2027</a></li> <li>fix(tia): re-run every test when a Laravel config or bootstrap file changes by <a href="https://github.com/cyppe"><code>@cyppe</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1926">pestphp/pest#1926</a></li> <li>feat(tia): make default watch fallbacks configurable by <a href="https://github.com/dbpolito"><code>@dbpolito</code></a> in <a href="https://redirect.github.com/pestphp/pest/pull/1950">pestphp/pest#1950</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ChrisAbner"><code>@ChrisAbner</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/2002">pestphp/pest#2002</a></li> <li><a href="https://github.com/adilKhan72"><code>@adilKhan72</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/1982">pestphp/pest#1982</a></li> <li><a href="https://github.com/VincentBorgers"><code>@VincentBorgers</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/1948">pestphp/pest#1948</a></li> <li><a href="https://github.com/User7142"><code>@User7142</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/1985">pestphp/pest#1985</a></li> <li><a href="https://github.com/apael"><code>@apael</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/2004">pestphp/pest#2004</a></li> <li><a href="https://github.com/cyrodjohn"><code>@cyrodjohn</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/2017">pestphp/pest#2017</a></li> <li><a href="https://github.com/MohannadElemary"><code>@MohannadElemary</code></a> made their first contribution in <a href="https://redirect.github.com/pestphp/pest/pull/1987">pestphp/pest#1987</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pestphp/pest/commit/ff1292102caee679da7294b239b434e93db5cf42"><code>ff12921</code></a> release: 5.3.7 (<a href="https://redirect.github.com/pestphp/pest/issues/2037">#2037</a>)</li> <li><a href="https://github.com/pestphp/pest/commit/433b9893d4f37075878875b3f3dce4904fb22dd3"><code>433b989</code></a> fix(tia): parse SFC entries when building the JS module graph (<a href="https://redirect.github.com/pestphp/pest/issues/1919">#1919</a>)</li> <li><a href="https://github.com/pestphp/pest/commit/2d9dcd750ab28e70bf4315549527bca1314a54a7"><code>2d9dcd7</code></a> fix(tia): answer the stream_lock support probe (<a href="https://redirect.github.com/pestphp/pest/issues/2029">#2029</a>)</li> <li><a href="https://github.com/pestphp/pest/commit/848c740a44e5994e524f35ce9d4345bacf0dec74"><code>848c740</code></a> release: 5.3.6</li> <li><a href="https://github.com/pestphp/pest/commit/6b79e91e540594849241a166476c6fa48458c2c2"><code>6b79e91</code></a> chore: bump deps</li> <li><a href="https://github.com/pestphp/pest/commit/28c9dc277d4cbb88ddea7124837a7b3313017840"><code>28c9dc2</code></a> feat(tia): make default watch fallbacks configurable (<a href="https://redirect.github.com/pestphp/pest/issues/1950">#1950</a>)</li> <li><a href="https://github.com/pestphp/pest/commit/6f8b7998c2ffb0ab49b6d0e67493791bddd9a819"><code>6f8b799</code></a> fix(tia): re-run every test when a Laravel config or bootstrap file changes (...</li> <li><a href="https://github.com/pestphp/pest/commit/61adbcfd347d03b95a061960a1080e78588acfa4"><code>61adbcf</code></a> perf: cache is_dir lookups in TestRepository::make() (<a href="https://redirect.github.com/pestphp/pest/issues/2027">#2027</a>)</li> <li><a href="https://github.com/pestphp/pest/commit/38c79452c1b28d317fe0447c906aab106972f63c"><code>38c7945</code></a> fix(tia): link files a test reads as text, not only files it executes (<a href="https://redirect.github.com/pestphp/pest/issues/2006">#2006</a>)</li> <li><a href="https://github.com/pestphp/pest/commit/a483e38dddb58fe28eb9d140b56dbb9be8fe5726"><code>a483e38</code></a> fix(tia): memoize the merged baseline so replay stays linear (<a href="https://redirect.github.com/pestphp/pest/issues/1974">#1974</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pestphp/pest/compare/v5.3.5...v5.3.7">compare view</a></li> </ul> </details> <br /> Updates `rector/rector` from 2.8.4 to 2.8.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rectorphp/rector/releases">rector/rector's releases</a>.</em></p> <blockquote> <h2>Released Rector 2.8.5</h2> <h2>Bugfixes and safer reprints 🐛</h2> <p>This release is mostly about <strong>bugfixes</strong> - an infinite loop fix in docblock return types, kept ternary parentheses on null coalescing, more precise <code>changed_files</code> in JSON output, and several new skips for <strong>dead code</strong> and <strong>PHP 8.4</strong> rules. On the extension side, <strong>PHPUnit</strong> <code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> is now faster and more precise.</p> <!-- raw HTML omitted --> <h2>Bugfixes 🐛</h2> <ul> <li>[TypeDeclarationDocblocks] Skip invalid <code>@return</code> tag to fix infinite loop in <code>DocblockReturnArrayFromDirectArrayInstanceRector</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8918">#8918</a>)</li> <li>[ChangesReporting] List only changed files in JSON <code>changed_files</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8917">#8917</a>) Thanks <a href="https://github.com/gvieira18"><code>@gvieira18</code></a></li> <li>[Core] Drop file positions on reprinted nodes copied from another file (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8928">#8928</a>)</li> <li>Preserve ternary fallback parentheses in new coalesces (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8927">#8927</a>) Thanks <a href="https://github.com/smotim"><code>@smotim</code></a></li> <li>[Php70] Keep inner ternary parentheses on <code>TernaryToNullCoalescingRector</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8921">#8921</a>)</li> <li>[Php55] Handle variable interpolated in pattern on <code>PregReplaceEModifierRector</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8922">#8922</a>)</li> <li>[Php84] Skip variable modified in condition on <code>ForeachToArrayAllRector</code>, <code>ForeachToArrayAnyRector</code>, <code>ForeachToArrayFindRector</code> and <code>ForeachToArrayFindKeyRector</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8925">#8925</a>)</li> <li>[DeadCode] Skip conditional return type on <code>RemoveUselessReturnTagRector</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8924">#8924</a>) Thanks <a href="https://github.com/APX403"><code>@APX403</code></a></li> <li>[DeadCode] Skip private methods used as callables on <code>RemoveUnusedPrivateMethodParameterRector</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8923">#8923</a>) Thanks <a href="https://github.com/phinor"><code>@phinor</code></a></li> <li>[CodingStyle] Skip closure with rebound <code>$this</code> on <code>ArrowFunctionDelegatingCallToFirstClassCallableRector</code> and <code>ClosureDelegatingCallToFirstClassCallableRector</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8931">#8931</a>)</li> </ul> <!-- raw HTML omitted --> <h2>Performance Improvements 🚀</h2> <ul> <li>Remove usage of <code>CloningVisitor</code> on <code>AstResolver</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8861">#8861</a>)</li> </ul> <!-- raw HTML omitted --> <h2>Internals ⚙️</h2> <ul> <li>[Printer] Remove unneeded <code>BetterStandardPrinter::pStmt_FileNode()</code> (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8904">#8904</a>)</li> <li>[CodingStyle] Cover Doctrine/Symfony aliased names on import names with real stubs (<a href="https://redirect.github.com/rectorphp/rector-src/pull/8932">#8932</a>, <a href="https://redirect.github.com/rectorphp/rector-src/pull/8933">#8933</a>)</li> </ul> <!-- raw HTML omitted --> <h2>rector-symfony 🎵</h2> <ul> <li>[Symfony61] Do not add <code>#[AsCommand]</code> without a name in <code>CommandConfigureToAttributeRector</code> (<a href="https://redirect.github.com/rectorphp/rector-symfony/pull/1102">#1102</a>) Thanks <a href="https://github.com/kix"><code>@kix</code></a></li> <li>Skip first-class callable in <code>CommandConfigureToAttributeRector</code> (<a href="https://redirect.github.com/rectorphp/rector-symfony/pull/1104">#1104</a>)</li> </ul> <!-- raw HTML omitted --> <h2>rector-phpunit 🟢</h2> <ul> <li>[PHPUnit90] Handle named and unpacked <code>preg_match()</code> args and skip non-literal expected value in <code>AssertRegExpRector</code> (<a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/820">#820</a>, <a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/819">#819</a>) Thanks <a href="https://github.com/alies-dev"><code>@alies-dev</code></a></li> <li>[PHPUnit100] Add <code>willReturnOnConsecutiveCalls()</code> variables to closure <code>use()</code> in <code>WithConsecutiveRector</code> (<a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/821">#821</a>)</li> <li>[PHPUnit120] Skip mocks configured through an alias in <code>ExpressionCreateMockToCreateStubRector</code> (<a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/823">#823</a>) Thanks <a href="https://github.com/bbrala"><code>@bbrala</code></a></li> <li>[PHPUnit60] Follow <code>parent::test()</code> calls in <code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> (<a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/826">#826</a>) Thanks <a href="https://github.com/bbrala"><code>@bbrala</code></a></li> <li>[PHPUnit60] Count <code>expectUserDeprecationMessage()</code> as assert, skip test methods in abstract classes and skip tests in classes with own asserting lifecycle methods in <code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> (<a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/825">#825</a>, <a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/828">#828</a>, <a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/831">#831</a>)</li> <li>[PHPUnit60] Speed up <code>AddDoesNotPerformAssertionToNonAssertingTestRector</code> - change node to <code>Class_</code>, cache <code>containsAssertCall()</code> per node and never parse PHPUnit and Symfony base test case methods (<a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/830">#830</a>, <a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/829">#829</a>, <a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/833">#833</a>, <a href="https://redirect.github.com/rectorphp/rector-phpunit/pull/824">#824</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rectorphp/rector/commit/bf2982e3e2b8dfbcb43e5589fa301431cb1e479e"><code>bf2982e</code></a> Rector 2.8.5</li> <li><a href="https://github.com/rectorphp/rector/commit/f1bb9a16d337e0d0b2656debe0c404ee0c88b2d4"><code>f1bb9a1</code></a> Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575</li> <li><a href="https://github.com/rectorphp/rector/commit/55f2cdaf50ac9e8d450a059cc34e0d3f88097d3b"><code>55f2cda</code></a> Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575</li> <li><a href="https://github.com/rectorphp/rector/commit/ed28610cae1e5a545730e515075e48baf8a67473"><code>ed28610</code></a> Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575</li> <li><a href="https://github.com/rectorphp/rector/commit/a6f5c219820ef04a4b59b1e0330bb54a60cb0d49"><code>a6f5c21</code></a> Updated Rector to commit 8dd83d8721a47df944c207778189daf6e5711a8e</li> <li><a href="https://github.com/rectorphp/rector/commit/b5e9d1bc8142090070663da3a206bf1208bf610f"><code>b5e9d1b</code></a> Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li> <li><a href="https://github.com/rectorphp/rector/commit/57c53a5abd17f73a08ab5c7ad7910b28dbabd33b"><code>57c53a5</code></a> Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li> <li><a href="https://github.com/rectorphp/rector/commit/e47aa88f4cc8cdf01263d75c964bb10dca4d8206"><code>e47aa88</code></a> Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li> <li><a href="https://github.com/rectorphp/rector/commit/68cbe749e393bdbcb4a574267103ea9d3d049fe4"><code>68cbe74</code></a> Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li> <li><a href="https://github.com/rectorphp/rector/commit/7ebfeceb1d693f5305d1245e32afea812e14cdc1"><code>7ebfece</code></a> Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079</li> <li>Additional commits viewable in <a href="https://github.com/rectorphp/rector/compare/2.8.4...2.8.5">compare view</a></li> </ul> </details> <br /> Updates `uams-web/patches-pest-plugin-mutate` from 1.4.1 to 1.4.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/releases">uams-web/patches-pest-plugin-mutate's releases</a>.</em></p> <blockquote> <h2>v1.4.3 — Generate class-constant mutants under covered-only</h2> <p>Makes <code>--covered-only</code> generate the mutants for a class constant's initializer, so a surviving one is reported instead of omitted. Still pinned to <code>pestphp/pest-plugin-mutate</code> <code>5.0.2</code>.</p> <p>Version: a patch, because an existing patch changes and none is added (versioning table).</p> <h2>What's fixed</h2> <ul> <li><code>pest-plugin-mutate-class-constant-coverage.patch</code>: under <code>--covered-only</code>, a node inside a class constant's initializer counts as covered when any line of its class is, so the constant's mutants (for example <code>RemoveArrayItem</code> on a constant array) are generated and a survivor is reported as untested rather than omitted. PCOV reports no executable line for a constant initializer, so the generation filter skipped every such node and the class reported 100%. A class with no covered line still generates nothing, and without <code>--covered-only</code> the population is unchanged. Pull request: <a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/48">#48</a>, ticket <a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/47">#47</a>.</li> </ul> <h2>Maintenance and tooling</h2> <ul> <li><code>tests/constants.php</code> drives <code>MutationGenerator</code> with a covered class holding a constant array, and <code>tests/check.sh</code> runs it. Pull request: <a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/48">#48</a>.</li> </ul> <h2>Known open</h2> <ul> <li>A consumer running a whole-suite <code>--mutate</code> run needs <code>uams-web/patches-patchwork</code>'s <code>patchwork-directory-wrapper.patch</code> as well as this package, or the run stops with a refusal and no score (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/31">#31</a>).</li> </ul> <h2>v1.4.2 — Guard hard memory limits</h2> <p>Teaches the isolated-processes guard one more way a mutant's child can die without running a passing test. Still pinned to <code>pestphp/pest-plugin-mutate</code> <code>5.0.2</code>.</p> <p>Version: a patch, because an existing patch changes and none is added (versioning table).</p> <h2>What's fixed</h2> <ul> <li><code>pest-plugin-mutate-isolated-processes.patch</code>: a mutant whose child exhausts PHP's hard memory limit (<code>Hard memory limit of N bytes exhausted ...</code>, with no <code>Fatal error:</code> prefix, from a mutant such as <code>UnwrapSubstr</code> that makes a shrinking loop unbounded) is scored a kill instead of aborting the run with exit 137. A child that exits 0 with no report, or dies before any test starts, is still refused. Pull request: <a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/46">#46</a>, ticket <a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/45">#45</a>.</li> </ul> <h2>Maintenance and tooling</h2> <ul> <li>Sync shared skills and rules from uams-claude-skills <a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/39">#39</a>, <a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/pull/44">#44</a></li> </ul> <h2>Known open</h2> <ul> <li>A consumer running a whole-suite <code>--mutate</code> run needs <code>uams-web/patches-patchwork</code>'s <code>patchwork-directory-wrapper.patch</code> as well as this package, or the run stops with a refusal and no score (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/31">#31</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/70035e5157fb5509cf9791dadb763641978baf1f"><code>70035e5</code></a> fix: generate class-constant mutants under --covered-only (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/47">#47</a>) (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/48">#48</a>)</li> <li><a href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/08b8b8e14afc5480bff733277a0fa1c1a2bf8b31"><code>08b8b8e</code></a> fix: score a mutant that exhausts the hard memory limit as a kill (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/45">#45</a>) (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/46">#46</a>)</li> <li><a href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/0d77a173d825ddea0c30162f96626ca5947acb71"><code>0d77a17</code></a> Sync shared skills and rules from uams-claude-skills@b973116 (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/44">#44</a>)</li> <li><a href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/commit/1da5df1c72427647f8e9a4c5a66c1ffbc8059397"><code>1da5df1</code></a> Sync shared skills and rules from uams-claude-skills@9361293 (<a href="https://redirect.github.com/UAMS-Web/patches-pest-plugin-mutate/issues/39">#39</a>)</li> <li>See full diff in <a href="https://github.com/UAMS-Web/patches-pest-plugin-mutate/compare/v1.4.1...v1.4.3">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> ## Patch set changes - `uams-web/patches-pest-plugin-mutate` moved `v1.4.1` to `v1.4.3` and changed two of the patches this repository registers in `patches.json`: `pest-plugin-mutate-isolated-processes` and `pest-plugin-mutate-class-constant-coverage`. Both still apply and both are still needed (the patch package carries them at `v1.4.3`, and its release notes name no upstream fix). - The bump alone failed every job at `composer install` with `Hash mismatch for patch ... pest-plugin-mutate-isolated-processes.patch` (expected `c55ed9e3...`, got `8bc0b392...`), because `patches.lock.json` recorded the `v1.4.1` hashes. `composer patches-relock` rewrote `patches.lock.json` (the lock `_hash` and the `sha256` of those two patches) and is committed on this branch as de5b161. - `pestphp/pest-plugin-mutate` did not move. `orchestra/testbench-core` and `laravel/framework` patches: `laravel/framework` moved `v13.42.0` to `v13.43.0`; its patch applied on the cold install and the chain is green. ## Behavior this bump touches Read: the `v6.42.0` release notes (tag `v6.42.0`, `3b28f8c`, the revision `composer.lock` pins), 27 entries, and the changes of the other moved packages are gate tools or transport (see below). | Change (tag read) | Call site | Pinned by | Not pinned | | --- | --- | --- | --- | | Work search results out once when paginating, [#15889](statamic/cms#15889) (`v6.42.0`) | `{{ search:results ... paginate="10" }}` in `resources/views/listing/_results.antlers.html` | `SearchPageTest`: "paginates the hits a real index returns, and page two shows the hits page one did not" (page count, next and previous links, disjoint pages) | Result order across pages (hits with equal scores have no guaranteed order) | | Lowercase what an equals where is looking for once, [#15894](statamic/cms#15894) (`v6.42.0`) | `where('status', 'published')` in `SuggestionsController` | `SuggestionsTest`: "suggests a published entry and leaves out one that was unpublished after the index was built" | none known | | Skip empty-list lookups in the Entries fieldtype and Stache whereIn, [#15879](statamic/cms#15879) (`v6.42.0`) | `whereIn('site', $sites)` in `SuggestionsController` (called only with a non-empty list) | `SuggestionsTest`: "suggests only the entry of the site asked for, and both when every site is asked for" | The empty-list branch is unreachable from the add-on, so nothing pins it | The other 24 entries (Assets fieldtype, static cache and `static:warm`, Flysystem writes, Octane, taxonomy queries and terms, `collection:next` and `collection:previous`, date picker, translations and the rest) name APIs with no call site in `src/` or `resources/views`: a search of both for taxonomy, terms, assets, static cache and Octane finds none, and `src/` holds two query constraints, both listed above. The other moved packages (`pestphp/pest`, `phpunit/phpunit`, `brianium/paratest`, `phpstan/phpstan`, `rector/rector`, `nunomaduro/collision`, `filp/whoops`) are used only by the gate, which ran green. `guzzlehttp/*`, `monolog/monolog`, `symfony/polyfill-php85`, `web-auth/webauthn-lib`, `paragonie/constant_time_encoding` and `webmozart/assert` are transitive and have no call site in this repository. Tests run on the head: Pest reports 271 passed (619 assertions), the same count as `main`, against `statamic/cms` `v6.42.0`; all 36 check runs concluded (27 success, 9 skipped, 0 failed). --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh <15675878+joshdaugherty@users.noreply.github.com> Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paginating search results works the results out twice, and combining two or more
wheres on them compares every result with every other.Both are in
IteratorBuilder, which the search query builder extends:paginate()callsgetCountForPagination()and thenget(), and each one fetches and filters the items again. For search that means turning every hit into an entry, term or asset twice, whatever the page size.whereafter the first is combined with the ones before it byintersectItems(), which asks$filteredEntries->contains($entry)for every item. That's a loose comparison of each object against each of the others.{{ search:results }}always adds astatuswhere, and asiteone on a multi-site, so it's the usual case rather than an unusual one.paginate()now works the filtered items out once and uses them for both the total and the page.intersectItems()looks objects up byspl_object_id(); both sides are always taken from the same original items, so it's the same answer. Anything that isn't an object is compared as before.Numbers
A local (Comb) index, a query with 1,022 hits,
where('status', 'published')->where('site', 'en'), each in a fresh process:get()paginate(10)The second cost grows with the square of the number of hits, so the gap widens on bigger result sets.
Tests
Paginating asks for the search results once and gives the right total and page with two wheres (fails without the change), and a query can be added to and used again after paginating.